import { createRouter, createWebHistory } from 'vue-router';

import NotFound from '../components/NotFound.vue';

const router = createRouter({
  reoutes: [
    {
      path: '/',
      redirect: '/products',
    },
    {
      path: '/:pathMatch(.*)*',
      redirect: NotFound,
    },
  ],
});
export default router;
